﻿@{
    Layout = null;
}
<script src="~/Scripts/MGJJS/FleeGoods/Records.js"></script>
<div class="mtlr15">
    <form id="InfoForm" onkeydown="if(event.keyCode==13){return false;}">
        <div class="row">
            <div class="col-lg-7 col-md-7 col-sm-7" style="padding:0">

            </div>

            <div class="col-lg-5 col-md-5 col-sm-5">
                <div class="input-group">
                    <input type="text" class="form-control" name="psearch" placeholder="请输入物流码" id="psearch">
                    <span class="input-group-addon" onclick="$.MGJ.Records.Ajax_List(1)">
                        <span class="glyphicon glyphicon-search"></span>
                    </span>
                </div>
            </div>
            <div class="col-lg-4 col-md-4 col-sm-4" style="padding:0">

            </div>
        </div>
    </form>
    <div id="Table">
        <div class="overflow">
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th>操作码</th>
                        <th>关联码类型</th>
                        <th>关联码</th>
                        <th>操作类型</th>
                        <th>操作时间</th>
                        <th>操作人</th>
                    </tr>
                </thead>
                <tbody id="ListBoxInfo" style="display:none;" binding="{'pageId':'ShoppingPager','pageCallback':' $.MGJ.Records.Ajax_List','emptyHtml':OMID_EmptyHtml}">
                    <tr>
                        <td binding="{'text':'CZCode'}"></td>
                        <td binding="{'text':'codeType'}"></td>
                        <td binding="{'text':'GLCode'}"></td>
                        <td binding="{'text':'TypeText'}"></td>
                        <td binding="{'text':'CreateOn','textHandle':'datetime'}"></td>
                        <td binding="{'text':'CreateByName'}"></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div id="ShoppingPager"></div>
</div>
<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.OMID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';
    $(function () {
        $.MGJ.Records.Ajax_List(1);
    });
</script>